import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {NzIconModule, NzTreeSelectModule} from 'ng-zorro-antd';
import {FormsModule} from '@angular/forms';
import {SysConfigPageTreeSelectAlainComponent} from './sys-config-page-tree-select-alain.component';
import {BaseTreeModule} from '@sb/base';
import {DelonFormModule, WidgetRegistry} from '@delon/form';
import {SysCodeTreeSelectAlainComponent} from '../../sys-code/sys-code-tree-select-alain/sys-code-tree-select-alain.component';


@NgModule({
    declarations: [
        SysConfigPageTreeSelectAlainComponent
    ],
    imports: [
        CommonModule,
        FormsModule,
        NzTreeSelectModule,
        NzIconModule,
        BaseTreeModule,
        DelonFormModule
    ],
    entryComponents: [SysConfigPageTreeSelectAlainComponent],
    exports: [SysConfigPageTreeSelectAlainComponent],
})
export class SysConfigPageTreeSelectAlainModule {
    constructor(widgetRegistry: WidgetRegistry) {
        widgetRegistry.register(SysConfigPageTreeSelectAlainComponent.KEY, SysConfigPageTreeSelectAlainComponent);
    }
}
